//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.tool.btn;

import com.tool.tcpimg.UIUtils;
import java.awt.Color;
import java.awt.event.MouseEvent;
import javax.swing.JPanel;
import org.come.Jpanel.FundBuyJpanel;
import org.come.until.CutButtonImage;

public class OptionUncheckBtn extends MoBanBtn {
    private String caozuo;
    private JPanel jPanel;

    public OptionUncheckBtn(String iconpath, int type, String text, String caozuo, JPanel jpanel) {
        super(iconpath, type);
        this.caozuo = caozuo;
        this.jPanel = jpanel;
        this.setText(text);
        this.setFont(UIUtils.TEXT_HY19);
        this.setForeground(new Color(255, 255, 255));
        this.setVerticalTextPosition(0);
        this.setHorizontalTextPosition(0);
    }

    @Override
    public void chooseyes() {
    }

    @Override
    public void chooseno() {
    }

    @Override
    public void nochoose(MouseEvent e) {
        try {
            FundBuyJpanel buyJpanel;
            String var4;
            switch((var4 = this.caozuo).hashCode()) {
            case 2300980:
                if ("30基金".equals(var4)) {
                    buyJpanel = (FundBuyJpanel)this.jPanel;
                    buyJpanel.getThridFund().setIcons(CutButtonImage.cuts("skin/8100226/button/21.png"));
                    buyJpanel.getSixthFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.getNinethFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.setType("30");
                }
                break;
            case 2390353:
                if ("60基金".equals(var4)) {
                    buyJpanel = (FundBuyJpanel)this.jPanel;
                    buyJpanel.getThridFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.getSixthFund().setIcons(CutButtonImage.cuts("skin/8100226/button/21.png"));
                    buyJpanel.getNinethFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.setType("60");
                }
                break;
            case 2479726:
                if ("90基金".equals(var4)) {
                    buyJpanel = (FundBuyJpanel)this.jPanel;
                    buyJpanel.getThridFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.getSixthFund().setIcons(CutButtonImage.cuts("skin/8100226/button/20.png"));
                    buyJpanel.getNinethFund().setIcons(CutButtonImage.cuts("skin/8100226/button/21.png"));
                    buyJpanel.setType("90");
                }
            }
        } catch (Exception var5) {
            var5.printStackTrace();
        }

    }
}
